package com.ruoyi.common.core.domain.model;

import lombok.*;

import javax.validation.constraints.NotBlank;

/**
 * @NAME: RegisterUseMode
 * @AUTHOR: LZQ
 * @DATE: 2024-5-13
 * @TIME: 0:43
 * @YEAR: 2024
 * @MONTH: 05
 * @MONTH_NAME_SHORT: 5月
 * @MONTH_NAME_FULL: 五月
 * @DAY: 13
 * @DAY_NAME_SHORT: 周一
 * @DAY_NAME_FULL: 星期一
 * @HOUR: 00
 * @MINUTE: 43
 * @PROJECT_NAME: RuoYi-Vue
 * @apiNode:
 */
@Builder
@Data
@EqualsAndHashCode(callSuper = false)
@Getter
@Setter
public class RegisterUseMode {

    private String uuid;
    @NotBlank(message = "用户名不能为空")
    private String name;
    @NotBlank(message = "密码不能为空")
    private String password;
    @NotBlank(message = "手机号不能为空")
    private String phone;
    @NotBlank(message = "验证码不能为空")
    private String code;

    private Long userId;

}
